import Vue from "vue";
import Vuex from "vuex";
Vue.use(Vuex)
import home from "store/modules/home"
//暴露出去的是Vuex.Store实例对象
export default new Vuex.Store({
    state:{test:"real-test"},
    getters:{},
    mutations:{},
    actions:{},
    //modules 要加 s
    modules:{
        home
    }
})